package com.xll.mapper;

import com.github.pagehelper.Page;
import com.xll.entity.Hotel;
import com.xll.entity.Order;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface OrderMapper {
    void insert(Order order);

    List<Order> findByUserId(@Param("userId") Long userId);

    Page<Order> findPage(String queryString);
}
